<h1><?php echo __('Registration form'); ?></h1>
<br />
<?php echo __('To have permission use more services, please fill out the registration form and sign up.')?>
<br /><br />

<?php echo form_tag('user/register') ?>
<?php if( $sf_request->hasErrors() ): ?>
    <p style="color: #FF0000"><?php echo __('The form is not valid because it contains some errors.')?></p><br />
<?php endif; ?>
<sup>* <?php echo __('Required fields'); ?></sup><br /><br />

<?php echo __('Name, nick')?> *
<?php if( $sf_request->hasError('user[nick]') ): ?>
    <span style="color: #FF0000">&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;<?php echo $sf_request->getError('user[nick]') ?></span>
<?php endif; ?>
<br />
<?php echo input_tag('user[nick]', $sf_params->get('user[nick]'), array('class' => 'registration_input')) ?><br />

<?php echo __('Email:')?> *
<?php if( $sf_request->hasError('user[email]') ): ?>
    <span style="color: #FF0000">&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;<?php echo $sf_request->getError('user[email]') ?></span>
<?php endif; ?>
<br />
<?php echo input_tag('user[email]', $sf_params->get('user[email]'), array('class' => 'registration_input')) ?><br />

<?php echo __('password')?> *
<?php if( $sf_request->hasError('user[password]') ): ?>
    <span style="color: #FF0000">&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;<?php echo $sf_request->getError('user[password]') ?></span>
<?php endif; ?>
<br />
<?php echo input_password_tag('user[password]', '', array('class' => 'registration_input')) ?><br />

<?php echo __('repeat password')?> *
<?php if( $sf_request->hasError('user[repeat_password]') ): ?>
    <span style="color: #FF0000">&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;<?php echo $sf_request->getError('user[repeat_password]') ?></span>
<?php endif; ?>
<br />
<?php echo input_password_tag('user[repeat_password]', '', array('class' => 'registration_input')) ?><br />

<?php //echo input_tag('user[url]', '', array('class' => 'registration_url')) ?>

<?php echo submit_tag(__('Register')) ?>
</form>